package com.gemfire.onlineretailer.domain;

/**
 * In an Account System, normally there are four type of Account
 * Income
 * Expenses
 * Asset
 * and Liabilities
 *  
 * @author Binit Datta
 */

import java.io.Serializable;

public enum AccountType implements Serializable {

	ASSET(1), LIABILITIES(2), INCOME(3), EXPENSE(5);

	private int code;
	 
	 private AccountType(int c) {
	   code = c;
	 }
	 
	 public int getCode() {
	   return code;
	 }

}
